package com.lhd.action.strategy;

/**
 * @Author: liuhd
 * @Date: 2024/12/16 23:19
 * @Description:
 */
public class Context {
    private Strategy strategy;
    public void setStrategy(Strategy strategy){
        this.strategy = strategy;
    }
    public void invoke(){
        strategy.method();
    }
}
